| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

MeshFillOptions.h
1 // MeshFillOptions.h
3 //
5
6 namespace nkGraphics
7 {
11 enum class DATA_FILL_TYPE
12 {
13 COPY = 0,
14 FORWARD,
15 REFERENCE
16 } ;
17 }
18
19 namespace nkGraphics
20 {
24 struct MeshFillOptions final
25 {
26 DATA_FILL_TYPE _dataFillType = DATA_FILL_TYPE::FORWARD ;
27
28 bool _autoLoad = true ;
29 } ;
30 }
nkGraphics::MeshFillOptions::_dataFillType
DATA_FILL_TYPE _dataFillType
How data should be communicated to the mesh when filling.
Definition: MeshFillOptions.h:26
nkGraphics::MeshFillOptions::_autoLoad
bool _autoLoad
Whether the mesh should be loaded at the end of the operation.
Definition: MeshFillOptions.h:28
nkGraphics::DATA_FILL_TYPE::COPY
@ COPY
Data will be copied from the input data, to the output vertex buffers.
nkGraphics::DATA_FILL_TYPE::REFERENCE
@ REFERENCE
Data will be referenced by the vertex buffers. This means the input data has to remain alive while th...
nkGraphics::MeshFillOptions
Describes how a filling operation should behave.
Definition: MeshFillOptions.h:25
nkGraphics::DATA_FILL_TYPE::FORWARD
@ FORWARD
Data will be forwarded from the input data to the output vertex buffers. Input will be altered and in...
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::DATA_FILL_TYPE
DATA_FILL_TYPE
Enumerates available data fill types.
Definition: MeshFillOptions.h:12